package com.machine.filling.function.init.InputOilStationNum;

import com.machine.filling.base.baseMvp.IBasePresenter;
import com.machine.filling.base.baseMvp.IBaseView;
import com.machine.filling.net.http.response.OilMachineListResBean;
import com.machine.filling.net.http.response.OilStationInfoResBean;

import java.util.List;

/**
 * Created by Administrator on 2018/1/14 0014.
 */

public class InputOilStationNumContract {

    interface Presenter extends IBasePresenter{
        /**
         * 搜索商家编号
         */
        void searchStationInfoByNum();

        /**
         * 获取油机列表
         */
        void getOilMachineList();

        /**
         * 绑定终端机和油机
         */
        void bindOilMachineAndClient();
    }

    interface View extends IBaseView<Presenter>{
        /**
         * 展示商家信息
         */
        void showStationInfo(OilStationInfoResBean.ResultBean.SellerBean sellerBean);

        /**
         * 获取油站编号
         * @return
         */
        String getStationNum();

        /**
         * 获取油机id
         * @return
         */
        String getMachineId();

        /**
         * 展示油机列表
         */
        void showOilMachineList(List<OilMachineListResBean.ResultBean.MachinesBean> machinesList);

        /**
         * 终端机绑定成功
         */
        void showBindSuccess();
    }
}
